package com.qupai.domain.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 拍卖师表，存储拍卖师信息
 * </p>
 *
 * @author bluefoxyu
 * @since 2024-07-30
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Auctioneer implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "拍卖师ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "电话")
    private String phone;

    @Schema(description = "姓名")
    private String name;

    @Schema(description = "昵称")
    private String nickName;

    @Schema(description = "状态：1、启用，2、禁用")
    private Long status;

    @Schema(description = "举办拍卖会的机会（次数）")
    private Integer chance;

}
